package com.qf.flash.ui.login;

import android.view.View;

import com.qf.flash.R;
import com.qf.flashlib.base.BaseActivity;

import butterknife.OnClick;

public class MainActivity extends BaseActivity {

    @Override
    protected void initViewAndData() {
    }

    @Override
    protected int getLayoutId() {
        return R.layout.activity_main;
    }


    @OnClick({R.id.tv_load, R.id.tv_register})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.tv_load:
                LoginRegisterActivity.start(this, true);
                finish();
                break;
            case R.id.tv_register:
                LoginRegisterActivity.start(this, false);
                finish();
                break;
        }

    }
}
